home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:ClipbdB.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODBaseClipboard_h
- #define SOM_ODBaseClipboard_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODBaseClipboard
- #define ODBaseClipboard SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODSession
- #define ODSession SOMObject
- #endif /* ODSession */
- #ifndef ODStorageUnit
- #define ODStorageUnit SOMObject
- #endif /* ODStorageUnit */
- #ifndef ODDocument
- #define ODDocument SOMObject
- #endif /* ODDocument */
- #ifndef ODDraft
- #define ODDraft SOMObject
- #endif /* ODDraft */
- #ifndef ODContainer
- #define ODContainer SOMObject
- #endif /* ODContainer */
- #ifndef ODPlatformTypeList
- #define ODPlatformTypeList SOMObject
- #endif /* ODPlatformTypeList */
-
- /*
- * End of user-defined types.
- */
-
- #define ODBaseClipboard_MajorVersion 1
- #define ODBaseClipboard_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODBaseClipboardNewClass c
- #define ODBaseClipboardClassData d
- #define ODBaseClipboardCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODBaseClipboard_classObj ODBaseClipboardClassData.classObject
- #define _ODBaseClipboard ODBaseClipboard_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODBaseClipboardNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODBaseClipboardClassDataStructure {
- SOMAny *classObject;
- somMToken Lock;
- somMToken Unlock;
- somMToken GetChangeID;
- somMToken Clear;
- somMToken GetContentStorageUnit;
- somMToken SetPlatformClipboard;
- somMToken ExportClipboard;
- somMToken reserved1;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODBaseClipboardGetClassData ( void );
- # undef ODBaseClipboardClassData
- # define ODBaseClipboardClassData (*ODBaseClipboardGetClassData())
- #else
- ODBaseClipboardClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODBaseClipboardCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODBaseClipboardCClassData;
-
- /*
- * New and Renew macros for ODBaseClipboard
- */
- #define ODBaseClipboardNew() \
- ( ( ! (ODBaseClipboardClassData.classObject) && \
- (ODBaseClipboardNewClass(ODBaseClipboard_MajorVersion, ODBaseClipboard_MinorVersion)) ), \
- (_somNew(ODBaseClipboardClassData.classObject)) )
- #define ODBaseClipboardRenew(buf) \
- ( _somRenew(ODBaseClipboardClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODBaseClipboard_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODBaseClipboard_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * New Method: Lock
- */
- typedef ODBoolean (SOMLINK *somTD_ODBaseClipboard_Lock)(ODBaseClipboard *somSelf, Environment *ev,
- ODULong wait,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_Lock "::ODBaseClipboard::Lock"
- #define ODBaseClipboard_Lock(somSelf,ev,wait,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, Lock) \
- (somSelf,ev,wait,key))
- #ifndef SOMGD_Lock
- #if (defined(_Lock) || defined(__Lock))
- #undef _Lock
- #undef __Lock
- #define SOMGD_Lock 1
- #else
- #define _Lock ODBaseClipboard_Lock
- #endif /* _Lock */
- #endif /* SOMGD_Lock */
-
- /*
- * New Method: Unlock
- */
- typedef void (SOMLINK *somTD_ODBaseClipboard_Unlock)(ODBaseClipboard *somSelf, Environment *ev,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_Unlock "::ODBaseClipboard::Unlock"
- #define ODBaseClipboard_Unlock(somSelf,ev,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, Unlock) \
- (somSelf,ev,key))
- #ifndef SOMGD_Unlock
- #if (defined(_Unlock) || defined(__Unlock))
- #undef _Unlock
- #undef __Unlock
- #define SOMGD_Unlock 1
- #else
- #define _Unlock ODBaseClipboard_Unlock
- #endif /* _Unlock */
- #endif /* SOMGD_Unlock */
-
- /*
- * New Method: GetChangeID
- */
- typedef ODChangeID (SOMLINK *somTD_ODBaseClipboard_GetChangeID)(ODBaseClipboard *somSelf, Environment *ev);
- #define somMD_ODBaseClipboard_GetChangeID "::ODBaseClipboard::GetChangeID"
- #define ODBaseClipboard_GetChangeID(somSelf,ev) \
- (SOM_Resolve(somSelf, ODBaseClipboard, GetChangeID) \
- (somSelf,ev))
- #ifndef SOMGD_GetChangeID
- #if (defined(_GetChangeID) || defined(__GetChangeID))
- #undef _GetChangeID
- #undef __GetChangeID
- #define SOMGD_GetChangeID 1
- #else
- #define _GetChangeID ODBaseClipboard_GetChangeID
- #endif /* _GetChangeID */
- #endif /* SOMGD_GetChangeID */
-
- /*
- * New Method: Clear
- */
- typedef void (SOMLINK *somTD_ODBaseClipboard_Clear)(ODBaseClipboard *somSelf, Environment *ev,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_Clear "::ODBaseClipboard::Clear"
- #define ODBaseClipboard_Clear(somSelf,ev,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, Clear) \
- (somSelf,ev,key))
- #ifndef SOMGD_Clear
- #if (defined(_Clear) || defined(__Clear))
- #undef _Clear
- #undef __Clear
- #define SOMGD_Clear 1
- #else
- #define _Clear ODBaseClipboard_Clear
- #endif /* _Clear */
- #endif /* SOMGD_Clear */
-
- /*
- * New Method: GetContentStorageUnit
- */
- typedef ODStorageUnit* (SOMLINK *somTD_ODBaseClipboard_GetContentStorageUnit)(ODBaseClipboard *somSelf, Environment *ev,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_GetContentStorageUnit "::ODBaseClipboard::GetContentStorageUnit"
- #define ODBaseClipboard_GetContentStorageUnit(somSelf,ev,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, GetContentStorageUnit) \
- (somSelf,ev,key))
- #ifndef SOMGD_GetContentStorageUnit
- #if (defined(_GetContentStorageUnit) || defined(__GetContentStorageUnit))
- #undef _GetContentStorageUnit
- #undef __GetContentStorageUnit
- #define SOMGD_GetContentStorageUnit 1
- #else
- #define _GetContentStorageUnit ODBaseClipboard_GetContentStorageUnit
- #endif /* _GetContentStorageUnit */
- #endif /* SOMGD_GetContentStorageUnit */
-
- /*
- * New Method: SetPlatformClipboard
- */
- typedef void (SOMLINK *somTD_ODBaseClipboard_SetPlatformClipboard)(ODBaseClipboard *somSelf, Environment *ev,
- ODPlatformTypeList* typeList,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_SetPlatformClipboard "::ODBaseClipboard::SetPlatformClipboard"
- #define ODBaseClipboard_SetPlatformClipboard(somSelf,ev,typeList,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, SetPlatformClipboard) \
- (somSelf,ev,typeList,key))
- #ifndef SOMGD_SetPlatformClipboard
- #if (defined(_SetPlatformClipboard) || defined(__SetPlatformClipboard))
- #undef _SetPlatformClipboard
- #undef __SetPlatformClipboard
- #define SOMGD_SetPlatformClipboard 1
- #else
- #define _SetPlatformClipboard ODBaseClipboard_SetPlatformClipboard
- #endif /* _SetPlatformClipboard */
- #endif /* SOMGD_SetPlatformClipboard */
-
- /*
- * New Method: ExportClipboard
- */
- typedef void (SOMLINK *somTD_ODBaseClipboard_ExportClipboard)(ODBaseClipboard *somSelf, Environment *ev,
- ODClipboardKey key);
- #define somMD_ODBaseClipboard_ExportClipboard "::ODBaseClipboard::ExportClipboard"
- #define ODBaseClipboard_ExportClipboard(somSelf,ev,key) \
- (SOM_Resolve(somSelf, ODBaseClipboard, ExportClipboard) \
- (somSelf,ev,key))
- #ifndef SOMGD_ExportClipboard
- #if (defined(_ExportClipboard) || defined(__ExportClipboard))
- #undef _ExportClipboard
- #undef __ExportClipboard
- #define SOMGD_ExportClipboard 1
- #else
- #define _ExportClipboard ODBaseClipboard_ExportClipboard
- #endif /* _ExportClipboard */
- #endif /* SOMGD_ExportClipboard */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODBaseClipboard_InitObject ODObject_InitObject
- #define ODBaseClipboard_IsInitialized ODObject_IsInitialized
- #define ODBaseClipboard_HasExtension ODObject_HasExtension
- #define ODBaseClipboard_GetExtension ODObject_GetExtension
- #define ODBaseClipboard_ReleaseExtension ODObject_ReleaseExtension
- #define ODBaseClipboard_Purge ODObject_Purge
- #define ODBaseClipboard_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODBaseClipboard_somFree SOMObject_somFree
- #define ODBaseClipboard_somGetClass SOMObject_somGetClass
- #define ODBaseClipboard_somGetClassName SOMObject_somGetClassName
- #define ODBaseClipboard_somGetSize SOMObject_somGetSize
- #define ODBaseClipboard_somIsA SOMObject_somIsA
- #define ODBaseClipboard_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODBaseClipboard_somRespondsTo SOMObject_somRespondsTo
- #define ODBaseClipboard_somDispatchV SOMObject_somDispatchV
- #define ODBaseClipboard_somDispatchL SOMObject_somDispatchL
- #define ODBaseClipboard_somDispatchA SOMObject_somDispatchA
- #define ODBaseClipboard_somDispatchD SOMObject_somDispatchD
- #define ODBaseClipboard_somDispatch SOMObject_somDispatch
- #define ODBaseClipboard_somClassDispatch SOMObject_somClassDispatch
- #define ODBaseClipboard_somPrintSelf SOMObject_somPrintSelf
- #define ODBaseClipboard_somDumpSelf SOMObject_somDumpSelf
- #define ODBaseClipboard_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODBaseClipboard_h */
-